package org.jsola.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.contract.constant.ContractType;
import org.jsola.contract.constant.FileType;
import org.jsola.contract.constant.SealType;
import org.jsola.core.dto.BaseDTO;
import org.jsola.core.validator.Const;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static org.jsola.contract.example.ContractExample.*;

/**
 * 根据pdf新增合同及相关信息
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【根据pdf新增合同及相关信息】的参数")
@Data
public class PdfToContractAddDTO extends BaseDTO {

    @ApiModelProperty
    private Long templateId;

    @ApiModelProperty(notes = "个人签章页码")
    private Integer sealPeoplePage;

    @ApiModelProperty(notes = "个人签章位置x轴")
    private String sealPeoplePositionX;

    @ApiModelProperty(notes = "个人签章位置y轴")
    private String sealPeoplePositionY;

    @ApiModelProperty(notes = "公司签章页码")
    private Integer sealCompanyPage;

    @ApiModelProperty(notes = "公司签章位置x轴")
    private String sealCompanyPositionX;

    @ApiModelProperty(notes = "公司签章位置y轴")
    private String sealCompanyPositionY;



}

